#include "Golf.h"
#include <string>
#include <iostream>

using namespace std;

golf::golf(const char* name, int hc)
{
	strcpy_s(this->fullname, name);
	this->handicap = hc;
}
void golf::setgolf()
{
	char name[Len];
	cin >> name;
	int hc = 0;
	cin >> hc;
	
	*this= golf(name, hc);
}

void golf::sethandicap(int hc)
{
	this->handicap = hc;
}
void golf::showgolf()const
{
	cout << this->fullname << endl;
	cout << this->handicap << endl;
}
